package cloud.xiangyixiang.www.spring.boot.java.basics.classes;

/**
 * <p>
 * PersonSupplier
 * </p>
 *
 * @author weixin
 * @date 2023/9/18 17:29
 */
public class PersonSupplier {

    Integer id;

    String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public PersonSupplier() {
        this.name="mike";
        System.out.println("创建了一个对象");
    }

    public PersonSupplier(Integer x, String y) {
        this.id = x;
        this.name = y;
    }

}
